package com.alks.function.data.dto.finance.fincons;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * &#064;Description:  入库明细
 */
@Getter
@Setter
@NoArgsConstructor
public class InboundDetailsDto {
    @ApiModelProperty(value = "类型")
    private String seqName;

    @ApiModelProperty(value = "入库单号")
    private String recNo;

    @ApiModelProperty(value = "汇总单号")
    private String reqNo;

    @ApiModelProperty(value = "对账月份")
    private String financeRecYymm;

    @ApiModelProperty(value = "对账方式")
    private String accountName;

    @ApiModelProperty(value = "对账单号")
    private String balanceNo;

    @DateTimeFormat("yyyy/MM/dd")
    @ApiModelProperty(value = "入库日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate recDate;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "结算厂商")
    private String vendorName2;

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @NumberFormat
    @ApiModelProperty(value = "用量")
    private BigDecimal ttlUsage;

    @ApiModelProperty(value = "订单类型")
    private String slipType;

    @NumberFormat
    @ApiModelProperty(value = "暂收用量")
    private BigDecimal sendQty;

    @NumberFormat
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "财务备注")
    private String financeRecMemo;

    @ApiModelProperty(value = "仓库备注")
    private String remark;

    @ApiModelProperty(value = "备注信息")
    private String remarkCw;

    @ApiModelProperty("底模号")
    private String moldNo;

    @ApiModelProperty(value = "是否输入对账的标识（）")
    private String financeCfmFlag;

    @ApiModelProperty(value = "物料ID")
    private String mtlNo;

    @ApiModelProperty(value = "ID")
    private Integer id;

}
